package com.example.demo.repository;

import com.example.demo.dataobject.Insulin;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface InsulinRepository extends JpaRepository<Insulin,Integer> {
    List<Insulin> findAll();
    List<Insulin> findByNameLikeOrderById(String name);
    Insulin findByName(String name);

}
